import http from "./http.ts";

/**
 * 用户注册
 * @param FromData
 */
export const Login = (FromData: any) => http.post("/auth/login", FromData);
/**
 * 用户注册
 * @param FromData
 * @constructor
 */
export const Register = (FromData: any) => http.post("/auth/register", FromData);